package cn.iocoder.yudao.module.crm.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 课程套餐新增/修改 Request VO")
@Data
public class CoursePackageSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4837")
    private Long id;

    @Schema(description = "所属栏目")
    private Long subjectId;

    @Schema(description = "套餐名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "")
    private String name;

    @Schema(description = "套餐图片")
    private String icon;

    @Schema(description = "套餐内容")
    private String content;

    @Schema(description = "套餐类型", example = "2")
    private String type;

    @Schema(description = "原价", requiredMode = Schema.RequiredMode.REQUIRED, example = "13134")
    private BigDecimal originalPrice;

    @Schema(description = "销售价", requiredMode = Schema.RequiredMode.REQUIRED, example = "26306")
    private BigDecimal salePrice;

    @Schema(description = "成本价", example = "3526")
    private BigDecimal costPrice;

    @Schema(description = "协议ID，外键关联crm_protocol表", example = "")
    private Long protocolId;

    @Schema(description = "展示顺序")
    private Integer sort;

    @Schema(description = "套餐状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Integer coursePackageStatus;

    @Schema(description = "有效期类型", example = "1")
    private String expirationType;

    @Schema(description = "开始时间")
    private LocalDateTime beginDate;

    @Schema(description = "结束时间")
    private LocalDateTime endDate;

    @Schema(description = "首页显示状态。{ 0：显示；1：隐藏；}", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer homeShowStatus;

    @Schema(description = "课程集合ids")
    private Set<Long> courseIds;

    @Schema(description = "是否已禁用。{ 0：正常；1：禁用；}", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "备注", example = "")
    private String remark;

    @Schema(description = "老师")
    private Set<Long> teacherIds;

}